<@override name="title">礼品兑换信息</@override>

<@override name="viewbody">
<div class="row">
    <div class="col-md-12">
        <h3 class="page-title">
            礼品兑换
            <small>礼品兑换记录</small>
        </h3>
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="${ctx}/admin/home">首页</a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#">礼品兑换记录</a>
            </li>
        </ul>
    </div>
</div>
<div class="row">
    <div class="col-md-12">
        <div class="portlet box light-grey">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-globe"></i>礼品兑换记录
                </div>
            </div>
            <div class="portlet-body">
                <div class="table-toolbar">
                    <form role="form" class="form-inline" id="search_form">
                        <div class="form-group margin-right-10">
                            <label for="start_time" class="control-label fleft">兑换日期：</label>
                            <div class="input-group input-large date-picker input-daterange"  data-date-format="yyyy-mm-dd">
                                <input type="text" class="form-control" name="start_time" placeholder="开始日期">
								<span class="input-group-addon"> 到</span>
                                <input type="text" class="form-control" name="end_time" placeholder="结束日期">
                            </div>
                        </div>
                        <div class="form-group margin-right-10">
                            <label for="card" class="control-label fleft">会员卡号：</label>
                            <input type="text" class="form-control" id="card" name="card" placeholder="会员卡号">
                        </div>
                        <div class="form-group">
                            <label for="gift" class="control-label fleft">礼品名称：</label>
                            <input type="text" class="form-control" id="gift" name="gift" placeholder="礼品名称">
                        </div>
                        <button class="btn btn-sm blue filter-submit margin-bottom" id="search_btn" disabled>
                            <i class="fa fa-search"></i> 检索
                        </button>
                    </form>
                </div>
                <table class="table table-striped table-bordered table-hover" id="exchange-list">
                    <thead>
                    <tr>
                        <th width="30">序号</th>
                        <th width="130">兑换日期</th>
                        <th width="130">礼品编号</th>
                        <th>兑换礼品</th>
                        <th width="5%">礼品积分</th>
                        <th width="15%">会员名称</th>
                        <th width="15%">会员卡号</th>
                        <th width="15%">会员电话</th>
                        <th width="10%">凭证号</th>
                        <th width="10%">领取时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

</@override>
<@override name="viewmodule">gift_exchange_index</@override>
<@extends name="../../_basic/main.ftl"></@extends>
